package com.autonavi.yunda.yunji.core.model.dto;

import com.autonavi.yunda.yunji.core.enums.BpmsApprovalStatus;
import com.autonavi.yunda.yunji.core.enums.BpmsCallBackType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author cizhong.wcs
 * @date 2023/9/4 14:06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "yunji_bpms_approval")
public class BpmsApprovalDTO {
    @TableId(type = IdType.AUTO)
    private Long id;
    private BpmsCallBackType type;
    private String procInstId;
    private Long relationId;
    private BpmsApprovalStatus status;
    @TableField("create_time")
    private Timestamp createTime;
    @TableField("update_time")
    private Timestamp updateTime;
}
